package com.service.gmall.common.config.threadpool;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author alpha
 * @className: ThreadPoolProperties
 * @date 2022/8/30 21:46
 * @Description
 */
@Data
@ConfigurationProperties(prefix = "app.thread-pool")
public class AppThreadPoolProperties {
    Integer corePoolSize;//: 4
    Integer maximumPoolSize;//: 8
    Integer queueCapacity;//: 2000
    Long keepAliveTime;//: 300
}
